(widget-plist-convert-widget): Replace binding of
authorDave Love <fx@gnu.org>
Thu, 8 Feb 2001 23:24:02 +0000 (23:24 +0000)
committerDave Love <fx@gnu.org>
Thu, 8 Feb 2001 23:24:02 +0000 (23:24 +0000)
widget-plist-value-type.
(widget-alist-convert-widget): Replace binding of
widget-alist-value-type.

lisp/wid-edit.el

index bea4a1933c664497a3877a35d2d26a60a580bd1b..c4661ed233166d601527873a22a130c3518f047f 100644 (file)
@@ -3208,10 +3208,11 @@ To use this type, you must define :match or :match-alternatives."
 (defun widget-plist-convert-widget (widget)
   ;; Handle `:options'.
   (let* ((options (widget-get widget :options))
+        (widget-plist-value-type (widget-get widget :value-type))
         (other `(editable-list :inline t
                                (group :inline t
                                       ,(widget-get widget :key-type)
-                                      ,(widget-get widget :value-type))))
+                                      ,widget-plist-value-type)))
         (args (if options
                   (list `(checklist :inline t
                                     :greedy t
@@ -3252,10 +3253,11 @@ To use this type, you must define :match or :match-alternatives."
 (defun widget-alist-convert-widget (widget)
   ;; Handle `:options'.
   (let* ((options (widget-get widget :options))
+        (widget-alist-value-type (widget-get widget :value-type))
         (other `(editable-list :inline t
                                (cons :format "%v"
                                      ,(widget-get widget :key-type)
-                                     ,(widget-get widget :value-type))))
+                                     ,widget-alist-value-type)))
         (args (if options
                   (list `(checklist :inline t
                                     :greedy t